# Template file for 'Quaternion'
pkgname=Quaternion
version=0.0.95.1
revision=1
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel
 qt5-multimedia-devel qt5-quickcontrols2-devel libQuotient-devel
 $(vopt_if qtkeychain qtkeychain-qt5-devel)"
depends="qt5-quickcontrols qt5-graphicaleffects"
short_desc="Qt5-based IM client for the Matrix protocol"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/quotient-im/Quaternion"
distfiles="https://github.com/quotient-im/Quaternion/archive/${version}.tar.gz"
checksum=69f034241dddc8d9436a895bb76b022e492e61e2f49d9a80ed8d79ab12b63a0e

build_options="qtkeychain"
build_options_default="qtkeychain"

CXXFLAGS="-Wno-deprecated-declarations"
