# Description: Commandline screen capture.
# URL: https://github.com/resurrecting-open-source-projects/scrot
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: autoconf-archive giblib xorg-libxcursor

name=scrot
version=1.3
release=1
source=(https://github.com/resurrecting-open-source-projects/scrot/archive/$version/$name-$version.tar.gz)

build() {
	cd $name-$version

	./autogen.sh
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man

	make
	make DESTDIR=$PKG install
}