# Template file for 'virt-manager'
pkgname=virt-manager
version=1.4.3
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-python python-urlgrabber
 libxml2-python python-ipaddr gir-freedesktop libvirt-glib
 spice-gtk gtk-vnc vte3 python-requests dmidecode"
pycompile_dirs="/usr/share/$pkgname"
short_desc="User interface for managing virtual machines"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="http://virt-manager.org"
distfiles="http://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=528226b9a0fdd6cd66451a8217fc7c87f3deb6bebd08599c25fe5c7291fe6a24

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