# Template file for 'owncloudclient'
pkgname=owncloudclient
version=2.4.3
revision=1
build_style=cmake
configure_args="-Wno-dev -DNO_SHIBBOLETH=TRUE"
hostmakedepends="pkg-config"
makedepends="qtkeychain-qt5-devel sqlite-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.0-or-later"
homepage="https://www.owncloud.org"
distfiles="https://download.owncloud.com/desktop/stable/${pkgname}-${version}.tar.xz"
checksum=f3b3ff13d06a8a38a40398630d670775eafbfa9fee4fa5b39ea480bac3ebe6bf

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