# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.16.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
 libXinerama-devel libpciaccess-devel spice-protocol desktop-file-utils
 alsa-lib-devel"
depends="dbus"
short_desc="Spice agent for Linux"
homepage="http://spice-space.org/"
license="GPL-3"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
checksum=5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d
configure_args="--sbindir=/usr/bin"

do_install() {
	make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
}
