{% set version = "1-56925d2" %}
{% set sha256 = "ba4c72b9cbdaec7f4eba83a5de0694571289c768f7b6e7192ba29bd22508975c" %}

package:
  name: spacepharer
  version: {{ version|replace("-", ".")  }}

build:
  number: 0

source:
  url: https://github.com/soedinglab/spacepharer/archive/{{ version }}.tar.gz
  sha256: {{ sha256 }}

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - cmake
    - make
  host:
    - openmp
    - perl
    - gawk
    - zlib
    - bzip2
  run:
    - wget
    - openmp
    - gawk
    - zlib
    - bzip2

test:
  commands:
    - spacepharer > /dev/null

about:
  home: https://github.com/soedinglab/spacepharer
  summary: "SpacePHARER: Sensitive identification of phages from CRISPR spacers in prokaryotic hosts"
  license: GPL-3
  license_family: GPL
  license_file: LICENCE.md

