# Template file for 'spice'
pkgname=spice
version=0.12.0
revision=3
build_style=gnu-configure
configure_args="--disable-tunnel --disable-opengl --disable-smartcard
 --with-sasl --disable-static --disable-xinerama"
makedepends="pkg-config spice-protocol>=0.10.1 libjpeg-turbo-devel pixman-devel
 openssl-devel celt051-devel alsa-lib-devel libXfixes-devel libXrender-devel
 libXrandr-devel libsasl-devel python-parsing"
short_desc="Implements the SPICE protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.spicespace.org"
distfiles="$homepage/download/releases/$pkgname-$version.tar.bz2"
checksum=6ad7cef8527ed0275c305e6f99c47887976ca20e65eef164a1041e43be35b796

spice-devel_package() {
	depends="pixman-devel celt051-devel openssl-devel spice>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

spice_package() {
	pkg_install() {
		vmove usr
	}
}
