# Template file for 'owncloudclient'
pkgname=owncloudclient
version=2.3.2
revision=2
build_style=cmake
configure_args="-Wno-dev"
hostmakedepends="pkg-config"
makedepends="qtkeychain-qt5-devel sqlite-devel qt5-webkit-devel qt5-declarative-devel
 qt5-tools-devel qt5-plugin-odbc qt5-plugin-tds qt5-plugin-pgsql qt5-plugin-mysql
 qt5-plugin-sqlite"
depends="qt5-plugin-sqlite"
conf_files="/etc/ownCloud/sync-exclude.lst"
short_desc="Connect to ownCloud servers"
maintainer="Samuel Chodur <samuelchodur@gmail.com>"
license="GPL-2"
homepage="http://www.owncloud.org"
distfiles="https://download.owncloud.com/desktop/stable/${pkgname}-${version}.tar.xz"
checksum=a1199d2b957a28081aff11a2a7e471ca09c965bbb1b51b1b7b7a8706304f5f09

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi
