# Template build file for 'libvncserver'.
pkgname=libvncserver
version=0.9.9
revision=8
wrksrc="LibVNCServer-${version}"
build_style=gnu-configure
makedepends="zlib-devel libjpeg-turbo-devel libpng-devel libressl-devel gnutls-devel"
short_desc="C libraries to easily implement VNC server or client functionality"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://libvncserver.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/LibVNCServer-${version}.tar.gz"
checksum=cf060d3525c2fb92be2fa18bbc697fb355592b52484e60745f3bcac5c3f803f9

libvncserver-devel_package() {
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/libvncserver-config
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
