{% set name = "mosh" %}
{% set version = "1.2.6" %}
{% set sha256 = "7e82b7fbfcc698c70f5843bb960dadb8e7bd7ac1d4d2151c9d979372ea850e85" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://mosh.org/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - gcc
    - pkg-config
    - protobuf
    - ncurses
    - zlib
    - openssl
  run:
    - libgcc
    - protobuf
    - ncurses
    - zlib
    - openssl
    - perl

test:
  commands:
    - mosh-client -c
    - mosh-server -h

about:
  home: https://mosh.org/
  license: GPLv3+
  license_family: GPL3
  summary: 'Mobile shell that supports roaming and intelligent local echo'

  description: |
      Mosh is a remote terminal application that supports:
          - intermittent network connectivity,
          - roaming to different IP address without dropping the connection, and
          - intelligent local echo and line editing to reduce the effects
            of "network lag" on high-latency connections.

extra:
  recipe-maintainers:
    - gokceneraslan

{% set name = "mosh" %}
{% set version = "1.2.6" %}
{% set sha256 = "7e82b7fbfcc698c70f5843bb960dadb8e7bd7ac1d4d2151c9d979372ea850e85" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://mosh.org/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - gcc
    - pkg-config
    - protobuf
    - ncurses
    - zlib
    - openssl
  run:
    - libgcc
    - protobuf
    - ncurses
    - zlib
    - openssl
    - perl

test:
  commands:
    - mosh-server -h

about:
  home: https://mosh.org/
  license: GPLv3+
  license_family: GPL3
  summary: 'Mobile shell that supports roaming and intelligent local echo'

  description: |
      Mosh is a remote terminal application that supports:
          - intermittent network connectivity,
          - roaming to different IP address without dropping the connection, and
          - intelligent local echo and line editing to reduce the effects
            of "network lag" on high-latency connections.

extra:
  recipe-maintainers:
    - gokceneraslan

Remove the test which depends on TERM env variable
Remove the test which depends on TERM env variable
