# Template file for 'htop'
pkgname=htop
version=0.9
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-unicode --enable-openvz --enable-vserver"
short_desc="An interactive process viewer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4de65c38e1886bccd30ed692b30eb9bf195240680781bfe1eaf5faf84ee6fbfd
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."

Add_dependency run glibc
Add_dependency run ncurses-libs
Add_dependency build bison
Add_dependency build ncurses-devel

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