# Template file for 'figlet'
pkgname=figlet
version=2.2.5
revision=3
build_style=gnu-makefile
make_install_args="prefix=/usr MANDIR=/usr/share/man"
short_desc="Program for making large letters out of ordinary text"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.figlet.org/"
distfiles="ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${version}.tar.gz"
checksum=bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d

post_extract() {
	sed -i /DECLS/d utf8.h
}

do_build() {
	make ${makejobs} CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr
}

post_install() {
	vlicense LICENSE
}
