# Template file for 'nfdump'
pkgname=nfdump
version=1.6.24
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=11ea7ecba405d57076c321f6f77491f1c64538062630131c98ac62dc4870545e
configure_args+="--enable-sflow --enable-readpcap --enable-nfcapd"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE
}
