# Template file for 'bmon'
pkgname=bmon
version=3.8
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel confuse-devel"
short_desc="Bandwidth monitor and rate estimator"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD,MIT"
homepage="http://github.com/tgraf/bmon/"
distfiles="http://github.com/tgraf/${pkgname}/archive/v${version}.tar.gz"
checksum=6bb2bbdd619f279132e54f1fa83fc98c0f75003766f82d6b7cd36c8a46900453

pre_configure() {
	./autogen.sh
}

post_install() {
	rm ${DESTDIR}/usr/share/doc/bmon/examples/bmon.conf
	vsconf examples/bmon.conf
}
