# Template file for 'flameshot'
pkgname=flameshot
version=13.3.0
revision=1
build_style=cmake
configure_args="-DENABLE_IMGUR=$(vopt_if imgur ON OFF) -DUSE_WAYLAND_CLIPBOARD=1 -DDISABLE_UPDATE_CHECKER=1 -DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF"
hostmakedepends="qt6-base qt6-tools git"
makedepends="qt6-svg-devel KDSingleApplication kf6-kguiaddons-devel"
depends="desktop-file-utils qt6-svg kguiaddons KDSingleApplication"
short_desc="Powerful yet simple to use screenshot software for GNU/Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/flameshot-org/flameshot"
distfiles="https://github.com/flameshot-org/flameshot/archive/refs/tags/v${version}.tar.gz"
checksum=bd1666313c875400e9588b47eb3fd2f4d0828460b3705a215b97746ea654c1b4

build_options="imgur"
desc_option_imgur="Enable Imgur Uploader"
