#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs

%:
	dh $@ --buildsystem=meson --without autoreconf

# Compile options
override_dh_auto_configure:
	dh_auto_configure -- \
		-Dautocrypt=true \
		-Dcanberra=true \
		-Dcompface=true \
		-Dgpe=true \
		-Dgss=true \
		-Dgtksourceview=true \
		-Dhelp-files=true \
		-Dldap=true \
		-Dspell-checker=gspell \
		-Dsystray=true
