Index: Makefile.in
--- Makefile.in.orig	2017-09-02 20:26:29.000000000 +0200
+++ Makefile.in	2017-09-02 23:53:27.387788000 +0200
@@ -1359,11 +1359,6 @@
 		rm -f $(DESTDIR)$(bindir)/mutt.dotlock ;		\
 		ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
 	fi
-	if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x$(DOTLOCK_GROUP) != x ; then \
-		chgrp $(DOTLOCK_GROUP) $(DESTDIR)$(bindir)/mutt_dotlock && \
-		chmod $(DOTLOCK_PERMISSION) $(DESTDIR)$(bindir)/mutt_dotlock || \
-		{ echo "Can't fix mutt_dotlock's permissions!  This is required to lock mailboxes in the mail spool directory." >&2 ; exit 1 ; } \
-	fi
 
 install-data-local:
 	$(MKDIR_P) $(DESTDIR)$(sysconfdir)
Index: configure
--- configure.orig	2017-09-02 20:20:40.000000000 +0200
+++ configure	2017-09-02 23:53:27.389163000 +0200
@@ -10470,7 +10470,7 @@
           fi
 
           saved_LIBS="$LIBS"
-          LIBS=
+          #LIBS=
 
           # OpenSolaris provides a SASL2 interface in libsasl
           sasl_libs="sasl2 sasl"
