# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20161202
revision=4
wrksrc="fbpdf-e31a61b"
build_style=gnu-makefile
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
 mupdf-devel"
short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://repo.or.cz/w/fbpdf.git"
distfiles="http://repo.or.cz/fbpdf.git/snapshot/e31a61bb7c00395817fc8b06c907398cf97e73f8.tar.gz"
checksum=4ba342d63e49558a19810fb905b67aa9dee5372c9f223b30fef35c2d6a67802b
LDFLAGS="-lmupdf -lfreetype -lopenjp2 -lharfbuzz -ljbig2dec -lz"

do_install() {
	vbin fbpdf
	vbin fbdjvu
	vdoc README  # no manpage
	vlicense LICENSE
}
