{% set version = "0.19.7" %}

package:
  name: gettext
  version: {{ version }}

source:
  fn: gettext-{{ version }}.tar.xz
  url: ftp://ftp.gnu.org/pub/gnu/gettext/gettext-{{ version }}.tar.xz
  sha256: 378fa86a091cec3acdece3c961bb8d8c0689906287809a8daa79dc0c6398d934

build:
  number: 1
  skip: true  # [win]

requirements:
  build:
    - libffi
    - libiconv

test:
  commands:
    - test -f ${PREFIX}/lib/libgettextlib.so  # [linux]
    - test -f ${PREFIX}/lib/libintl.dylib  # [osx]

about:
  home: https://www.gnu.org/software/gettext/
  license: GNU General Public License v3
  summary: "Internationalization package."

extra:
  recipe-maintainers:
    - scopatz