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

pkgname=xfce4-mailwatch-plugin
pkgver=1.2.0
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-mailwatch-plugin/1.2/xfce4-mailwatch-plugin-1.2.0.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.xfce.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-mailwatch-plugin (A mail watcher plugin for the Xfce panel" \
"An Xfce panel plugin to check for new mail in IMAP4/POP3 accounts. It" \
"supports multiple mailboxes."
)

build() {
	cd $startdir/src/$pkgname-$pkgver

	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-debug \
		--disable-static \
		--build=$arch-slackware-linux
	make -j $numjobs || exit 1
	make install DESTDIR=$startdir/pkg
}