# Template file for 'nethogs'
pkgname=nethogs
version=0.8.8
revision=1
build_style=gnu-makefile
makedepends="libpcap-devel ncurses-devel"
short_desc="Small net top tool grouping bandwidth by process"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/raboof/nethogs"
distfiles="https://github.com/raboof/nethogs/archive/v${version}.tar.gz"
checksum=111ade20cc545e8dfd7ce4e293bd6b31cd1678a989b6a730bd2fa2acc6254818

pre_build() {
	vsed -i 's,all: decpcap_test test nethogs,all: nethogs,' Makefile
	vsed -i 's,/sbin,/bin,' src/MakeApp.mk
}
