Lots of cash, and make sure that as a good manager you handle anything he doesn't want to deal with. Specifically, if you ask him to do something and he says he doesn't want to, then say ok and get someone else to do it. If you think that's primadonna/cowboy/immature behavior, you'll be right, and you'll also be looking for someone else to replace him when he leaves.
The top-notch developer is in high demand so you need to be extra nice to him. Imagine you just hired Tom Hanks to work on your movie, and you're going to make $500,000,000, so if Tom Hanks wants a bottle of french sparkling water, you're gonna jump and go get it for him. Treat your developer like that, and he'll want to work for you.
If you don't want to do that, you've condemned yourself to making B movies and software.