# Template file for 'Thunar'
pkgname=Thunar
version=1.6.3
revision=2
build_style=gnu-configure
configure_args="--enable-gio-unix --enable-dbus --enable-gudev
 --enable-exif --enable-pcre --disable-static --enable-notifications"
short_desc="Thunar File Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://thunar.xfce.org"
license="GPL-2, LGPL-2.1"
distfiles="http://archive.xfce.org/src/xfce/thunar/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=9a2706f6881ac29cda9f0b0325d179153bc09e37bcbafcab9823c1c1ec89579d

hostmakedepends="pkg-config intltool"
makedepends="pcre-devel>=8.30 libglib-devel>=2.32.3_2
 libgudev-devel libnotify-devel libxfce4util-devel libxfce4ui-devel
 gtk+-devel dbus-glib-devel libexif-devel exo-devel>=0.10.2 xfce4-panel-devel
 startup-notification-devel systemd-devel gvfs-devel hicolor-icon-theme
 desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"

Thunar-devel_package() {
	depends="libglib-devel gtk+-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/lib/*.so
	}
}
