An estimator for the extreme-value index