diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index b07f9b2d22..14c5be9567 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -17,6 +17,13 @@ MUTT_DEPENDENCIES += libiconv MUTT_CONF_OPTS += --enable-iconv endif +ifeq ($(BR2_PACKAGE_LIBIDN),y) +MUTT_DEPENDENCIES += libidn +MUTT_CONF_OPTS += --with-idn +else +MUTT_CONF_OPTS += --without-idn +endif + ifeq ($(BR2_PACKAGE_MUTT_IMAP),y) MUTT_CONF_OPTS += --enable-imap else