# Template file for 'CImg'
pkgname=CImg
version=3.7.4
revision=1
depends="libgraphicsmagick-devel fftw-devel"
short_desc="Open-source C++ toolkit for image processing"
maintainer="Orphaned <orphan@voidlinux.org>"
license="CECILL-2.0, CECILL-C"
homepage="http://cimg.eu"
distfiles="https://github.com/dtschump/CImg/archive/v.${version}.tar.gz"
checksum=0dc1cb9cd35420b165fd2a0cb73967fdb1f0d4f328e58d0ef3a719c2a45e1a3f

do_install() {
	vlicense Licence_CeCILL_V2-en.txt
	vlicense Licence_CeCILL-C_V1-en.txt
	vinstall CImg.h 644 usr/include
	vmkdir usr/include/CImg
	vcopy "plugins/*.h" usr/include/CImg
}
