# Template file for 'Clipboard'
pkgname=Clipboard
version=0.3.2
revision=1
build_style=cmake
hostmakedepends="pkg-config wayland-devel"
makedepends="libX11-devel wayland-devel wayland-protocols"
short_desc="Cut, copy, and paste anything, anywhere, all from the terminal"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/Slackadays/Clipboard"
distfiles="https://github.com/Slackadays/Clipboard/archive/refs/tags/${version}.tar.gz"
checksum=6784aac212307cd7e6957e2ae9f71b4a98c1ce520351d8ca86c8a414b723c899

if [ "${XBPS_TARGET_NO_ATOMIC8}" ]; then
	makedepends+=" libatomic-devel"
	CXXFLAGS+=" -latomic"
fi
