# Template file for 'fbterm'
pkgname=fbterm
version=1.7.0
revision=1
wrksrc="${pkgname}-${version%.*}"
build_style=gnu-configure
configure_args="--enable-gpm"
hostmakedepends="pkg-config ncurses"
makedepends="fontconfig-devel gpm-devel"
short_desc="Fast frame buffer based terminal emulator"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://code.google.com/p/fbterm/"
distfiles="http://fbterm.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=720f600817217257aa4c822e67814495dcb6c8d6326cdde5fe3ba1e457d9915d

post_configure() {
	sed -i "s,tic,& -o $DESTDIR/usr/share/terminfo," terminfo/Makefile
	vmkdir usr/share/terminfo
}
