{% set name = "abra2" %}
{% set version = "2.24" %}

package:
  name: "{{ name }}"
  version: "{{ version }}"

source:
  url: https://github.com/mozack/abra2/archive/v{{ version }}.zip
  sha256: edb35fb6ff318239353a573d1abad148073b8ac0bb2cd44a18e561abe08aef32

build:
  number: 0
  skip: true  # [osx]

requirements:
  build:
    - maven
    - make
    - {{ compiler('cxx') }}
  run:
    - openjdk >=8
    - coreutils

test:
  commands:
     - 'abra2 2>&1 | grep "Abra version"'

about:
  home: https://github.com/mozack/abra2
  license: MIT
  summary: ABRA2 is an updated implementation of ABRA
