#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfce4-screenshooter
pkgver=1.6.0
pkgrel=1gv
arch=i486
source=(http://goodies.xfce.org/releases/xfce4-screenshooter/xfce4-screenshooter-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/applications/xfce4-screenshooter

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-screenshooter - a screenshot application for xfce4"
"This application allows you to capture the entire screen, the active"
"window or a selected region. You can set the delay that elapses before"
"the screenshot is taken and the action that will be done with the"
"screenshot: save it to a PNG file, copy it to the clipboard, or open"
"it using another application."
"A plugin for the Xfce panel is also available."

)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --disable-debug
	make || return 1
	make install DESTDIR=$startdir/pkg
}