# Template file for 'xlbiff'
pkgname=xlbiff
version=4.1
revision=4
makedepends="libX11-devel libXaw-devel"
short_desc="X Literate Biff, a mail notifier"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="http://www.edsantiago.com/xlbiff/"
distfiles="http://www.edsantiago.com/xlbiff/${pkgname}-${version}.tar.gz"
checksum=ca758c186d8fbe3505b86ba7aea21c6e20733a5b37e6ff5c308f09e8425e4697

do_build() {
	make -f Makefile.std MHLIBDIR=/etc/nmh CC="$CC" DEBUG="$CFLAGS"
	sed -n 2,30p xlbiff.c >LICENSE
}

do_install() {
	vbin xlbiff
	vman xlbiff.man xlbiff.1
	vinstall xlbiff.form 644 etc/nmh
	vinstall XLbiff.ad 644 usr/share/X11/app-defaults
	vlicense LICENSE
}
