# Template file for 'qownnotes'
pkgname=qownnotes
version=26.5.2
revision=2
build_helper=qmake
build_style=cmake
configure_args="-DQON_QT6_BUILD=ON -DBUILD_WITH_LIBGIT2=1 -DBUILD_WITH_SYSTEM_BOTAN=1"
hostmakedepends="pkg-config qt6-base qt6-tools qt6-declarative-host-tools"
makedepends="botan-devel qt6-base-devel qt6-declarative-devel
qt6-qt5compat-devel qt6-svg-devel qt6-websockets-devel libgit2-devel"
depends="qt6-plugin-sqlite qt6-svg"
short_desc="Plain-text file notepad and todo-list manager with markdown support"
maintainer="travankor <travankor@tuta.io>"
license="GPL-2.0-only"
homepage="https://www.qownnotes.org"
changelog="https://raw.githubusercontent.com/pbek/QOwnNotes/main/CHANGELOG.md"
distfiles="https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"
checksum=945e61d1095b3e2596f94f2595db54c60c1e36b11b2ae2b773c91c11d6e8472f
