From substrate to fragments to inhibitor active in vivo against Staphylococcus aureus.