# Template file for 'feh'
pkgname=feh
version=2.14.2
revision=2
hostmakedepends="pkg-config"
makedepends="giblib-devel libcurl-devel libexif-devel
 libpng-devel libjpeg-turbo-devel libXinerama-devel libXt-devel"
depends="libjpeg-turbo-tools"
short_desc="Fast and light imlib2-based image viewer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://feh.finalrewind.org/"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=c80f3d3297b3b6ee4898572d19692f5e19eb3066a9ca078c3099d39004a7e0cf

do_build() {
	make ${makejobs} CC=$CC PREFIX=/usr exif=1 help=1
}
do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vlicense COPYING
}
