depends  glib2   &&
depends  libpng  &&
depends  pcre    &&

# freetype2 with harfbuzz requires harfbuzz built against freetype2 first
if spell_ok ${SPELL}; then
  optional_depends  -sub 'FT'  'harfbuzz'                        \
                    '--with-harfbuzz=yes'                        \
                    '--with-harfbuzz=no'                         \
                    'to improve auto-hinting of OpenType fonts'
else
  message "${PROBLEM_COLOR}harfbuzz optional dependency disabled until ${DEFAULT_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${PROBLEM_COLOR} is cast.${DEFAULT_COLOR}"
fi
