# Template file for 'xdu'
pkgname=xdu
version=3.0
revision=4
wrksrc=${pkgname}-${version}.orig
makedepends="libXaw-devel"
short_desc="Display the output of du(1) in an X window"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT/X11"
homepage="http://web.archive.org/web/20131111062856/http://sd.wareonearth.com/~phil/xdu/"
distfiles="$DEBIAN_SITE/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=42c018597e31fade56e44b21ed7041f23756532df6e114b5475b4a50cd4df881

do_build() {
	$CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11
}

do_install() {
	vbin xdu
	vman xdu.man xdu.1
}
