# Template file for 'htop'
pkgname=htop
version=3.1.1
revision=1
build_style=gnu-configure
configure_args="--enable-unicode --enable-sensors"
hostmakedepends="automake"
makedepends="ncurses-devel libsensors-devel"
short_desc="Interactive process viewer"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-2.0-only"
homepage="https://htop.dev/"
changelog="https://github.com/htop-dev/htop/blob/master/ChangeLog"
distfiles="https://github.com/htop-dev/htop/archive/${version}.tar.gz"
checksum=b52280ad05a535ec632fbcd47e8e2c40a9376a9ddbd7caa00b38b9d6bb87ced6

CFLAGS="-fcommon"

pre_configure() {
	./autogen.sh
}
