#!/usr/bin/make -f

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

%:
	dh $@ --with gnome

# Compile options
override_dh_auto_configure:
	dh_auto_configure -- --with-compface \
			--with-gss \
			--with-spell-checker=gspell \
			--with-ldap \
			--with-sqlite \
			--with-gtksourceview \
			--with-rubrica \
			--with-canberra \
			--with-libsecret \
			--with-gnome \
			--enable-autocrypt \
			--with-html-widget=webkit2
