# Template file for 'xdu'
pkgname=xdu
version=3.0
revision=2
wrksrc=$pkgname-$version
create_wrksrc=yes
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://sd.wareonearth.com/~phil/xdu/"
distfiles="http://sd.wareonearth.com/~phil/$pkgname/$pkgname-$version.tar.Z>$pkgname-$version.tar.gz"
checksum=9a8f3748751cc543f88e9b312a72fa1e60c4335b1a57bfac492745512c12dd11

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

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