# Template file for 'turbovnc'
pkgname=turbovnc
version=1.2.1
revision=1
build_style=cmake
configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_CONFDIR=/etc
 -DTVNC_MANDIR=/usr/share/man -DTVNC_DOCDIR=/usr/share/doc/${pkgname}"
make_build_target="all xserver"
make_install="install xserver-install"
hostmakedepends="cmake rsync"
makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel"
short_desc="An optimized version of TightVNC - a VNC client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/$pkgname-$version.tar.gz"
checksum=7c85c82bb7073f640e7339a1bedaad2ce1a347b2ebd8c569eb8092b85f578fb4

post_install() {
	mv ${DESTDIR}/usr/README.txt ${DESTDIR}/usr/share/doc/${pkgname}
}
