PKGNAME=htop
PKGSEC=utils
PKGDEP="libcap libnl libunwind lsof lm-sensors ncurses strace"
PKGDES="Top-like interactive process viewer"

ABTYPE=autotools
# NOTE: Disable PCP version htop, we are building the plain htop binary
AUTOTOOLS_AFTER=(
    '--disable-pcp'
    '--enable-unicode'
    '--enable-affinity'
    '--enable-backtrace=unwind-ptrace'
    '--enable-capabilities'
    '--enable-delayacct'
    '--enable-sensors'
    '--disable-werror'
    '--disable-debug'
)

PKGEPOCH=1

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
