# Template file for 'nfdump'
pkgname=nfdump
version=1.6.23
revision=1
build_style=gnu-configure
hostmakedepends="automake flex libtool pkg-config"
makedepends="bzip2-devel libpcap-devel"
short_desc="Collect and process netflow and sflow data"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/phaag/nfdump"
distfiles="https://github.com/phaag/nfdump/archive/v${version}.tar.gz"
checksum=8c5a7959e66bb90fcbd8ad508933a14ebde4ccf7f4ae638d8f18c9473c63af33
configure_args+="--enable-sflow --enable-readpcap --enable-nfcapd"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE
}
