# Template file for 'virt-manager'
pkgname=virt-manager
version=1.4.0
revision=1
noarch=yes
nocross=yes
build_style=python2-module
hostmakedepends="intltool python-devel glib-devel gtk-update-icon-cache"
depends="libosinfo python-gobject gnome-icon-theme gnome-ssh-askpass
 openbsd-netcat yajl python-gconf libvirt-glib-python libvirt-python
 python-urlgrabber libxml2-python python-ipaddr gir-freedesktop
 spice-gtk gtk-vnc vte3 python-requests dmidecode"
pycompile_dirs="/usr/share/$pkgname"
short_desc="User interface for managing virtual machines"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://virt-manager.org"
distfiles="http://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bf31a40cc48500cbf87a0e93a5838fc3f6ce4e2fa03f8bce6aa2615625e6caca

post_install() {
	rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \
		$DESTDIR/usr/share/icons/hicolor/icon-theme.cache
}
