# Template file for 'minitube'
pkgname=minitube
version=2.0
revision=2
wrksrc=$pkgname
makedepends="qt-devel phonon-devel desktop-file-utils hicolor-icon-theme phonon-backend-gstreamer"
short_desc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://flavio.tordini.org/minitube"
distfiles="http://flavio.tordini.org/files/$pkgname/$pkgname-$version.tar.gz"
checksum=1ba1dd7725e6e0c92653fdee7bcfa4b833346d2ef4c091d94b181b60bb592554

do_build() {
	qmake
}

do_install() {
	make INSTALL_ROOT=${DESTDIR} install
}

minitube_package() {
	depends="phonon-backend desktop-file-utils hicolor-icon-theme"
	pkg_install() {
		vmove usr
	}
}
