# Template file for 'wxWidgets'
pkgname="wxWidgets"
version=3.0.1
revision=1
build_style=gnu-configure
configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack --with-libnotify"
short_desc="Cross-Platform GUI Library"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="wxWindows Library Licence"
homepage="http://www.wxwidgets.org/"
hostmakedepends="pkg-config"
makedepends="gtk+-devel libjpeg-turbo-devel tiff-devel libSM-devel libnotify-devel
 libXinerama-devel libmspack-devel SDL-devel glu-devel gst-plugins-base-devel"
distfiles="${SOURCEFORGE_SITE}/wxwindows/${version}/${pkgname}-${version}.tar.bz2"
checksum=bd671b79ec56af8fb3844e11cafceac1a4276fb02c79404d06b91b6c19d2c5f5

wxWidgets-devel_package() {
	conflicts="wxGTK-devel>=0"
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/share
		vmove usr/bin
		vmove usr/lib/wx
	}
}
