# Template file for 'htop'
pkgname=htop
version=1.0
revision=1
build_style=gnu-configure
configure_args="--enable-unicode --enable-cgroup --enable-taskstats"
makedepends="bison python ncurses-devel"
short_desc="An interactive process viewer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://htop.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=242879b86db4b97e1090e7cd391247268ccbe90834ff34b6e8242926c9664852
long_desc="
 htop is an interactive process viewer for Linux. It is a text-mode terminal
 application (for console or X terminals) and requires ncurses."

pre_configure() {
	sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure 
}
