# Template file for 'spice'
pkgname=spice
version=0.12.4
revision=1
build_style=gnu-configure
configure_args="--disable-tunnel --disable-opengl --disable-smartcard
 --with-sasl --disable-static --enable-xinerama"
hostmakedepends="pkg-config python-parsing"
makedepends="spice-protocol>=0.12.6 libjpeg-turbo-devel pixman-devel
 openssl-devel celt051-devel alsa-lib-devel libXfixes-devel libXrender-devel
 libXrandr-devel libsasl-devel libXinerama-devel libglib-devel"
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=cf063e7df42e331a835529d2f613d8a01f8cb2963e8edaadf73a8d65c46fb387

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