+$(objdir)-nntp/build-stamp: $(QUILT_STAMPFN)
+ dh_testdir
+ dh_clean
+ -mkdir $(objdir)-nntp
+
+ifeq ($(BUILD_NNTP),yes)
+ ###################### building mutt-nntp ######################
+ $(QUILT) applied > PATCHES
+ autoreconf --install --include=m4
+ cd $(objdir)-nntp && \
+ env CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+ ../configure --enable-nntp $(confflags)
+
+ echo '#include "config-debian.h"' >> $(objdir)-nntp/config.h
+
+ # we should just "make mutt" here, but that doesn't work yet
+ cd $(objdir)-nntp && $(MAKE) CFLAGS="$(CFLAGS)"
+endif
+
+ touch $@
+
+$(objdir)-patched/build-stamp: $(objdir)-nntp/build-stamp